package org.samoji.business;

import java.util.List;

public class Student extends Person {
	private List<Course> _courses;
	
	public Student() {;}

	public Student(String _name, String _lastName, Address _address, List<PhoneNumber> _numbers, List<Course> _courses) {
		super(_name, _lastName, _address, _numbers);
		this._courses = _courses;
	}
	
	public boolean addCourse(Course c) {
		return this._courses.add(c);
	}

	/**
	 * @return the _courses
	 */
	public List<Course> get_courses() {
		return _courses;
	}

	/**
	 * @param _courses the _courses to set
	 */
	public void set_courses(List<Course> _courses) {
		this._courses = _courses;
	}
}